package demo.json;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

/**
 * json转对象时间戳
 *
 * @author sun.ye
 * @since 2020-06-24 14:52
 */
public class DateInObj {
    public static void main(String[] args) {
        String json = "[{" +
                "\"date\": 1592964069" +
                " },{" +
                "\"date\": 1592964069" +
                " },{" +
                "\"date\": 1592964069" +
                " },]";
//        1592964069
        JSONObject responseObj = JSONObject.parseObject(json);
//        JSONArray array = responseObj.getJSONArray();
        System.out.println(1);
    }
}